Arrow IPC binary fetch path for DataFrame execution#1489
Open
Martozar wants to merge 4 commits intogooddata:masterfrom
Open
Arrow IPC binary fetch path for DataFrame execution#1489Martozar wants to merge 4 commits intogooddata:masterfrom
Martozar wants to merge 4 commits intogooddata:masterfrom
Conversation
7453528 to
0380d40
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1489 +/- ##
==========================================
+ Coverage 78.13% 78.38% +0.25%
==========================================
Files 228 230 +2
Lines 14926 15212 +286
==========================================
+ Hits 11662 11924 +262
- Misses 3264 3288 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hkad98
reviewed
Mar 30, 2026
packages/gooddata-sdk/pyproject.toml
Outdated
| ] | ||
|
|
||
| [project.optional-dependencies] | ||
| arrow = ["pyarrow>=16.1.0"] |
Contributor
There was a problem hiding this comment.
Nitpick: this is a new dependency. Consider setting the threshold higher e.g., pyarrow>=23.0.1
no23reason
reviewed
Mar 31, 2026
no23reason
reviewed
Apr 1, 2026
no23reason
reviewed
Apr 1, 2026
packages/gooddata-sdk/src/gooddata_sdk/compute/model/execution.py
Outdated
Show resolved
Hide resolved
d7fbc76 to
4e99271
Compare
Switch read_result_arrow to explicitly request application/vnd.apache.arrow.stream via Accept header and pipe the HTTP response directly into ipc.open_stream(), eliminating the intermediate BytesIO buffer. Update tests accordingly.
no23reason
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a native Arrow IPC binary fetch path to gooddata-pandas, providing a faster alternative to the existing JSON-paged AFM path for large result sets.
What changed
gooddata-sdk — binary fetch
gooddata-pandas — Arrow→DataFrame conversion
Why
The JSON paging path serialises every result to JSON and pages it in chunks — it is CPU-heavy and slow for wide or deep result sets. Arrow IPC transfers binary columnar
data in a single round-trip. End-to-end benchmarks against the GoodData demo workspace show 1.3×–33× speedup depending on table shape, with larger tables benefiting most .
Test coverage